package com.cgsrp.cgsrp_user_province.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private Integer id;

    private Long username;

    private String username1;

    private String password;

    private String name;

    private Integer age;

    private String phone;

    @JsonProperty("eMail")
    private String eMail;

    /**
     * 用户账号是否封禁0表示正常1代表封禁
     */
    private Integer isLock;

    /**
     * 此用户是否被删除0代表正常1代表删除
     */
    private Integer delFlag;

    private String headphoto;
}
